package twoPoints;

import java.io.Serializable;


public class TwoPoint
implements Serializable
{

	private static final long serialVersionUID = -7276074939468464872L;


	private double x;
	private double y;
	
	public TwoPoint(double x, double y) 
	{
		this.x = x;
		this.y = y;
	}
	
	public double getX() 
	{
		return x;
	}
	
	public double getY() 
	{
		return y;
	}
	
	public void setX(double x) 
	{
		this.x = x;
	}
	
	public void setY(double y) 
	{
		this.y =y;
	}
	
	public String toString() 
	{
		return "[TwoPoint:x=" + this.x + ", y=" + y +"]";
	}
}
